<template>
  <div>
    <div v-for="(item,idx) in list" :key="idx">
      <p>书名：{{ item.name }} </p>
      <p>作者：{{ item.author }}</p>
      <p>价格：{{ item.price }}</p>

    </div>
  </div>
</template>
<script>
export default {
  props: { list: { type: Array, required: true }}
}
</script>
